From 38e9eff49b1dc8fa5468e24d0446cb9b065a2963 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Mon, 16 Sep 2002 15:28:25 +0000 Subject: [PATCH] (unexec): Deal with .got, reinstating change from 25-08-1999. --- src/unexelf.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/unexelf.c b/src/unexelf.c index cf3fc9d5bcd..affdbad1964 100644 --- a/src/unexelf.c +++ b/src/unexelf.c @@ -1012,6 +1012,8 @@ unexec (new_name, old_name, data_start, bss_start, entry_address) ".lit4") || !strcmp ((old_section_names + NEW_SECTION_H (n).sh_name), ".lit8") + || !strcmp ((old_section_names + NEW_SECTION_H (n).sh_name), + ".got") || !strcmp ((old_section_names + NEW_SECTION_H (n).sh_name), ".sdata1") || !strcmp ((old_section_names + NEW_SECTION_H (n).sh_name), @@ -1195,6 +1197,8 @@ unexec (new_name, old_name, data_start, bss_start, entry_address) ".lit4") || !strcmp ((old_section_names + NEW_SECTION_H (nn).sh_name), ".lit8") + || !strcmp ((old_section_names + NEW_SECTION_H (nn).sh_name), + ".got") || !strcmp ((old_section_names + NEW_SECTION_H (nn).sh_name), ".sdata1") || !strcmp ((old_section_names + NEW_SECTION_H (nn).sh_name), -- 2.30.2